package edu.depaul.se.courseregistration.sessionbean;

import edu.depaul.se.courseregistration.jpa.schedule.Schedule;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.LocalBean;
import javax.ejb.Stateless;

/**
 *
 * @author Group2
 */

@Stateless
@LocalBean

public class ScheduleSession  {
    
    @EJB
    ScheduleEJB scheduleEJB;
     
    //@Override
     public List <Schedule> findAllSchedule (){
       return scheduleEJB.findAllSchedule();
     }
}
